﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace QuanLyRapChieuPhim.DTO
{
    class TaiKhoanDTO
    {
        private int m_DaXoa;
        public int DaXoa
        {
            get { return m_DaXoa; }
            set { m_DaXoa = value; }
        }

        private int m_MaTaiKhoan;
        public int MaTaiKhoan
        {
            get { return m_MaTaiKhoan; }
            set { m_MaTaiKhoan = value; }
        }

        private string m_TenDangNhap;
        public string TenDangNhap
        {
            get { return m_TenDangNhap; }
            set { m_TenDangNhap = value; }
        }

        private string m_MatKhau;
        public string MatKhau
        {
            get { return m_MatKhau; }
            set { m_MatKhau = value; }
        }

        private int m_MaLoaiTaiKhoan;
        public int MaLoaiTaiKhoan
        {
            get { return m_MaLoaiTaiKhoan; }
            set { m_MaLoaiTaiKhoan = value; }
        }

        private int m_MaNhanVien;
        public int MaNhanVien
        {
            get { return m_MaNhanVien; }
            set { m_MaNhanVien = value; }
        }

        private int m_MaKhachHang;
        public int MaKhachHang
        {
            get { return m_MaKhachHang; }
            set { m_MaKhachHang = value; }
        }

        private string m_HoTenNguoiDung;
        public string HoTenNguoiDung
        {
            get { return m_HoTenNguoiDung; }
            set { m_HoTenNguoiDung = value; }
        }

        private string m_TenLoaiTaiKhoan;
        public string TenLoaiTaiKhoan
        {
            get { return m_TenLoaiTaiKhoan; }
            set { m_TenLoaiTaiKhoan = value; }
        }


        public TaiKhoanDTO() { }

        public TaiKhoanDTO(int _MaTaiKhoan ,string _TenDangNhap ,string _MatKhau , int _MaLoaiTaiKhoan,int _MaKhachHang, int _MaNhanVien) 
        {
            MaTaiKhoan = _MaTaiKhoan;
            TenDangNhap = _TenDangNhap;
            MatKhau = _MatKhau;
            MaLoaiTaiKhoan = _MaLoaiTaiKhoan;
            MaKhachHang = _MaKhachHang;
            MaNhanVien = _MaNhanVien;

        }

        public TaiKhoanDTO(TaiKhoanDTO TaiKhoan)
        {
            MaTaiKhoan = TaiKhoan.MaTaiKhoan;
            TenDangNhap = TaiKhoan.TenDangNhap;
            MatKhau = TaiKhoan.MatKhau;
            MaLoaiTaiKhoan = TaiKhoan.MaLoaiTaiKhoan;
            MaKhachHang = TaiKhoan.MaKhachHang;
            MaNhanVien = TaiKhoan.MaNhanVien;
        }
    }
}
